package com.tk.exam.mapper;

import com.tk.exam.domain.TkQuestionCategory;
import com.tk.exam.domain.TkQuestionCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TkQuestionCategoryMapper {
    int countByExample(TkQuestionCategoryExample example);

    int deleteByExample(TkQuestionCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TkQuestionCategory record);

    int insertSelective(TkQuestionCategory record);

    List<TkQuestionCategory> selectByExampleWithRowbounds(TkQuestionCategoryExample example, RowBounds rowBounds);

    List<TkQuestionCategory> selectByExample(TkQuestionCategoryExample example);

    TkQuestionCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TkQuestionCategory record, @Param("example") TkQuestionCategoryExample example);

    int updateByExample(@Param("record") TkQuestionCategory record, @Param("example") TkQuestionCategoryExample example);

    int updateByPrimaryKeySelective(TkQuestionCategory record);

    int updateByPrimaryKey(TkQuestionCategory record);
}